#ifndef FND_PLAYER_CAR_H
#define FND_PLAYER_CAR_H
#include "car.h"
#include <vector>
class racing_logic_shell ;
namespace GameLogic {

    class player_car : public car {
    private:
        racing_logic_shell* m_logic_shell ;
        LTVector do_position() const ;
        LTRotation do_rotation() const ;
        void do_update_pos_rotation() ;
        void do_update_action_logic() ;
        HOBJECT do_get_object() {return m_clientObj ;}
        void do_update_car_steer(float timeInteval) ;
        
        void do_wheel_pos_rot(int ids, LTVector& pos,
                              LTRotation& rot) ;
        
        HOBJECT m_clientObj;
        HCLIENT m_clientId ;
        std::vector<HOBJECT> m_wheels ;
    public:
        player_car(int id,
                   HOBJECT clientObj,
                   HCLIENT clientId,
            racing_logic_shell* shell) ;
        ~player_car() ;
        
    } ;
}
#endif
